CLDFLAGS = -g -Llibfits -Llibmisc -Llibastro \ -I. -Ilibmisc -Ilibastro -Ireadline-2.2 CFLAGS = -g $(CLDFLAGS) -O -Wall -Ilibfits -Ilibmisc -Ilibastro \ -Ireadline-2.2 LDFLAGS = -g -Llibfits -Llibmisc -Llibastro LIBS = -lfits -lmisc -lastro -lm -Lreadline-2.2/ -lreadline -lhistory -ltermcap apsuntmp: apsuntmp.o $(CC) $(LDFLAGS) -o apsuntmp apsuntmp.o $(LIBS) tst: tst.o $(CC) $(LDFLAGS) -o tst tst.o $(LIBS) apsun: apsun.o fitsionew.o $(CC) $(CLDFLAGS) -o apsun apsun.o fitsionew.o $(LIBS) apsunkx4: apsunkx4.o fitsionew.o $(CC) $(CLDFLAGS) -o apsunkx4 apsunkx4.o fitsionew.o $(LIBS)