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

CC = gcc
COPT = -g -Wall -O3 #-pg
ROOT = ../..
LIB = -lMagick -lrockflight -lnum -lm
LIBDIR = -L$(ROOT)/libnum/lib -L/usr/X11R6/lib/ -L../lib/
INCDIR = -I$(ROOT)/libnum/include -I../src/ \
-I/usr/X11R6/include/magick -I/usr/X11R6/include/
DEF =
PROG = viewer
OBJS = viewer.o
all: $(PROG) $(PROG2)
.c.o:
$(CC) $(DEF) $(INCDIR) $(COPT) -c $*.c -o $*.o
$(PROG): $(OBJS) $(LIBNAME)
$(CC) $(COPT) $(OBJS) $(LIBDIR) $(LIB) -o $@
clean:
rm -f *.o *~
deep-clean: clean
rm -f $(PROG)