Changeset 1500
- Timestamp:
- Aug 11, 2004, 4:34:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/Makefile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/Makefile
r1456 r1500 3 3 ## Makefile: test/astronomy 4 4 ## 5 ## $Revision: 1.1 0$ $Name: not supported by cvs2svn $6 ## $Date: 2004-08-1 0 23:22:40$5 ## $Revision: 1.11 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-08-12 02:34: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_psTime_01 \ … … 29 28 tst_psMetadata_06 30 29 31 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET)))32 30 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 33 31 34 all: builddir $(TARGET) 35 36 builddir: 37 mkdir builddir 38 39 include $(DEPENDENCIES) 32 all: $(TARGET) 40 33 41 34 clean: 42 @echo " Deleting executable and binary files for 'test/ astronomy'"43 $(RM) $(OBJS) *.lint builddir/*.i35 @echo " Deleting executable and binary files for 'test/collections'" 36 $(RM) $(OBJS) 44 37 45 38 distclean: clean 46 39 $(RM) $(TARGET) 47 48 cleandependencies:49 $(RM) $(DEPENDENCIES)50 51 builddir/%.o : builddir/%.i52 $(CC) $(CFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<53 54 builddir/%.o : %.c55 $(CC) $(CFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<56 57 % : builddir/%.o58 $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)59 60 %.lint: %.c61 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@62 63 builddir/%.i: %.c64 $(CC) -E $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -o $@ $<65 66 builddir/%.d: %.c67 $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< | sed 's|\(.*\.o\)|builddir/\1|' > $@68 40 69 41 install: $(testbindir) $(testbindir)/verified $(TARGET) … … 77 49 mkdir -p $(testbindir)/verified 78 50 79
Note:
See TracChangeset
for help on using the changeset viewer.
