blob: 55ed45c228bc95b7f76336b8d7fc33cedc3eafb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Makefile for FastPicTeX
PROG = fastpictex.exe
PRGOBJ = main.o fastpictex.o myfunctions.o scale.o nrutil.o
CC = g++
DUMADIR = ..\..\duma
CFLAGS = -O2
# CFLAGS = -g -DDUMA
LFLAGS = -O2
# LFLAGS = -g
LIBS =
# LIBS = $(DUMADIR)\libduma.a
RM = del
STRIP = strip
MAKE = mingw32-make
$(PROG): $(PRGOBJ)
$(CC) $(LFLAGS) -o fastpictex.exe $(PRGOBJ) $(LIBS)
main.o: main.cc fastpictex.h
$(CC) -c $(CFLAGS) main.cc
fastpictex.o: fastpictex.cc fastpictex.h
$(CC) -c $(CFLAGS) fastpictex.cc
myfunctions.o: myfunctions.cc
$(CC) -c $(CFLAGS) myfunctions.cc
scale.o: scale.cc
$(CC) -c $(CFLAGS) scale.cc
nrutil.o: nrutil.cc nrutil.h
$(CC) -c $(CFLAGS) nrutil.cc
clean:
$(RM) $(PRGOBJ) *~
strip:
$(STRIP) $(PROG)
|