source: trunk/test/Makefile @ 32

Last change on this file since 32 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
RevLine 
[30]1# $Id: Makefile 31 2005-07-16 19:05:19Z tim $
2
3################################################################################
4
[31]5CC=gcc
6OPTS=-ggdb -std=gnu89 -pedantic -Wall
7
[30]8REGFIO_O=../lib/regfio.o
9LIB_REGFIO_O=lib-regfio.o
10LIB_REGFIO=lib-regfio
[31]11FILES=$(LIB_REGFIO) $(LIB_REGFIO_O)
[30]12
13all: $(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
22clean:
23        rm -f $(FILES)
Note: See TracBrowser for help on using the repository browser.