source: trunk/lib/Makefile @ 31

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.

File size: 459 bytes
Line 
1# $Id: Makefile 30 2005-07-16 14:31:27Z tim $
2
3################################################################################
4
5CC=gcc
6OPTS=-ggdb -std=gnu89 -pedantic -Wall
7FILES=regfio.o smb_deps.o void_stack.o
8
9all: $(FILES)
10
11regfio.o: regfio.c
12        $(CC) $(CFLAGS) $(OPTS) -c -o $@ regfio.c
13
14smb_deps.o: smb_deps.c
15        $(CC) $(CFLAGS) $(OPTS) -c -o $@ smb_deps.c
16
17void_stack.o: void_stack.c
18        $(CC) $(CFLAGS) $(OPTS) -c -o $@ void_stack.c
19
20clean:
21        rm -f $(FILES)
Note: See TracBrowser for help on using the repository browser.