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