Changeset 1212 for trunk/psLib/test/collections/Makefile
- Timestamp:
- Jul 12, 2004, 3:37:59 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/collections/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/Makefile
r1171 r1212 3 3 ## Makefile: test/collections 4 4 ## 5 ## $Revision: 1.1 7$ $Name: not supported by cvs2svn $6 ## $Date: 2004-07- 01 21:45:54$5 ## $Revision: 1.18 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-07-13 01:37:58 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 include ../../src/Makefile.Globals 17 17 18 PSLIB_INCL_DIR = ../../include 19 20 PSLIB_LIB_DIR = ../../lib 18 CFLAGS := -I../../include $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 21 20 22 21 TARGET = tst_psVector_01 \ … … 38 37 tst_psList 39 38 40 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET))) 41 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 39 OBJS = $(addsuffix .o,$(TARGET)) 42 40 43 all: builddir $(TARGET) 44 45 builddir: 46 mkdir builddir 47 48 include $(DEPENDENCIES) 41 all: $(TARGET) 49 42 50 43 clean: 51 44 @echo " Deleting executable and binary files for 'test/collections'" 52 $(RM) $(OBJS) *.lint builddir/*.i45 $(RM) $(OBJS) 53 46 54 47 distclean: clean 55 48 $(RM) $(TARGET) 56 57 cleandependencies:58 $(RM) $(DEPENDENCIES)59 60 builddir/%.o : builddir/%.i61 $(CC) $(CFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<62 63 builddir/%.o : %.c64 $(CC) $(CFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<65 66 % : builddir/%.o67 $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)68 69 %.lint: %.c70 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@71 72 builddir/%.i: %.c73 $(CC) -E $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -o $@ $<74 75 builddir/%.d: %.c76 $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< | sed 's|\(.*\.o\)|builddir/\1|' > $@77 49 78 50 install: $(testbindir) $(testbindir)/verified $(TARGET)
Note:
See TracChangeset
for help on using the changeset viewer.
