diff options
| author | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2014-03-02 13:53:33 -0500 |
|---|---|---|
| committer | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2014-03-02 13:53:33 -0500 |
| commit | 9155a365e1e0a7e9fec47447f86af09117b30edb (patch) | |
| tree | 6c54cfee6f4784aa777cef186dbca9aa1f856efd /makefile.gnu | |
| parent | ffe739eeb12d1bf9dadb2144e95fef79820c6844 (diff) | |
| download | prism-9155a365e1e0a7e9fec47447f86af09117b30edb.tar.gz prism-9155a365e1e0a7e9fec47447f86af09117b30edb.zip | |
Added support for building with GNU C (Linux, etc.). Fixed minor bugs in diff routine.
Diffstat (limited to 'makefile.gnu')
| -rw-r--r-- | makefile.gnu | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile.gnu b/makefile.gnu new file mode 100644 index 0000000..a0d0c16 --- /dev/null +++ b/makefile.gnu @@ -0,0 +1,18 @@ +CC = gcc + +CFLAGS=-g + +OBJS = compress.o db.o fcomp.o md5.o prism.o rfile.o util.o + +TGT = prism + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +$(TGT): $(OBJS) + $(CC) -o $(TGT) $(OBJS) -lz + +all: $(TGT) + +clean: + rm -f $(TGT) $(OBJS) |
