![]() ![]() |
![]() |
File: [Development] / JSOC / proj / cookbook / Makefile
(download)
Revision: 1.6, Wed Jul 29 18:50:40 2009 UTC (14 years, 1 month ago) by rick Branch: MAIN Changes since 1.5: +2 -5 lines added smpl_05 |
include Makevars/Makevars_$(JPLAT).mk DEST = . INCL = -I$(DRMS)/base/include LIBD = -L$(DRMS)/lib/$(JPLAT) DLIBS = $(LIBD) -ldrms -lpq -lz -lpthread -lcfitsio -lm .SECONDEXPANSION: # simple modules, no extra libraries MODS = smpl_00 smpl_01 smpl_02 smpl_03 smpl_04 smpl_05 FPLS = $(addprefix $(DEST)/, $(MODS)) all: $(MODS) $(MODS): $$@.o $(LDCMD) -o $(DEST)/$@ $@.o $(DLIBS) $(RM) $@.o clean: $(RM) *.o $(RM) $(FPLS) .c.o: $(CC) $(CCFLAGS) $(@:.o=.c) $(INCL)
Karen Tian |
Powered by ViewCVS 0.9.4 |