Based on the original Rocket Workbench on SourceForge in CVS at: https://sourceforge.net/projects/rocketworkbench
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
521 B

  1. CC = gcc
  2. COPT = -g -Wall -O3 #-pg
  3. ROOT = ../..
  4. LIB = -lMagick -lrockflight -lnum -lm
  5. LIBDIR = -L$(ROOT)/libnum/lib -L/usr/X11R6/lib/ -L../lib/
  6. INCDIR = -I$(ROOT)/libnum/include -I../src/ \
  7. -I/usr/X11R6/include/magick -I/usr/X11R6/include/
  8. DEF =
  9. PROG = viewer
  10. OBJS = viewer.o
  11. all: $(PROG) $(PROG2)
  12. .c.o:
  13. $(CC) $(DEF) $(INCDIR) $(COPT) -c $*.c -o $*.o
  14. $(PROG): $(OBJS) $(LIBNAME)
  15. $(CC) $(COPT) $(OBJS) $(LIBDIR) $(LIB) -o $@
  16. clean:
  17. rm -f *.o *~
  18. deep-clean: clean
  19. rm -f $(PROG)