source: trunk/test/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.

  • 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
5CC=gcc
6OPTS=-ggdb -std=gnu89 -pedantic -Wall
7
8REGFIO_O=../lib/regfio.o
9LIB_REGFIO_O=lib-regfio.o
10LIB_REGFIO=lib-regfio
11FILES=$(LIB_REGFIO) $(LIB_REGFIO_O)
12
13all: $(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
22clean:
23        rm -f $(FILES)
Note: See TracBrowser for help on using the repository browser.