Last change
on this file since 31 was
31,
checked in by tim, 19 years ago
|
Added new lightweight stack library
rewrote test program to use this instead of string concatenation/recursion.
|
-
Property svn:keywords set to
Id
|
File size:
543 bytes
|
Rev | Line | |
---|
[30] | 1 | # $Id: Makefile 31 2005-07-16 19:05:19Z tim $ |
---|
| 2 | |
---|
| 3 | ################################################################################ |
---|
| 4 | |
---|
[31] | 5 | CC=gcc |
---|
| 6 | OPTS=-ggdb -std=gnu89 -pedantic -Wall |
---|
| 7 | |
---|
[30] | 8 | REGFIO_O=../lib/regfio.o |
---|
| 9 | LIB_REGFIO_O=lib-regfio.o |
---|
| 10 | LIB_REGFIO=lib-regfio |
---|
[31] | 11 | FILES=$(LIB_REGFIO) $(LIB_REGFIO_O) |
---|
[30] | 12 | |
---|
| 13 | all: $(FILES) |
---|
| 14 | |
---|
| 15 | $(LIB_REGFIO_O): lib-regfio.c |
---|
| 16 | $(CC) $(CFLAGS) $(OPTS) -c -o $@ lib-regfio.c |
---|
| 17 | |
---|
[31] | 18 | $(LIB_REGFIO): $(LIB_REGFIO_O) $(REGFIO_O) ../lib/smb_deps.o ../lib/void_stack.o |
---|
| 19 | $(CC) $(CFLAGS) $(OPTS) -o $@ $(LIB_REGFIO_O) $(REGFIO_O) ../lib/smb_deps.o ../lib/void_stack.o |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | clean: |
---|
| 23 | rm -f $(FILES) |
---|
Note: See
TracBrowser
for help on using the repository browser.