Last change
on this file since 34 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
|
Line | |
---|
1 | # $Id: Makefile 31 2005-07-16 19:05:19Z tim $ |
---|
2 | |
---|
3 | ################################################################################ |
---|
4 | |
---|
5 | CC=gcc |
---|
6 | OPTS=-ggdb -std=gnu89 -pedantic -Wall |
---|
7 | |
---|
8 | REGFIO_O=../lib/regfio.o |
---|
9 | LIB_REGFIO_O=lib-regfio.o |
---|
10 | LIB_REGFIO=lib-regfio |
---|
11 | FILES=$(LIB_REGFIO) $(LIB_REGFIO_O) |
---|
12 | |
---|
13 | all: $(FILES) |
---|
14 | |
---|
15 | $(LIB_REGFIO_O): lib-regfio.c |
---|
16 | $(CC) $(CFLAGS) $(OPTS) -c -o $@ lib-regfio.c |
---|
17 | |
---|
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.