File: Makefile

package info (click to toggle)
komposter 0%2Bgit20201216%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,716 kB
  • sloc: ansic: 15,586; sh: 4,176; asm: 642; makefile: 72
file content (29 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (2)
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
CCOPTS=-m32 -std=gnu99

# OS X
LDOPTS=-m32
# -L/opt/local/lib
CCOPTS=-FGLUT -m32 -std=gnu99 

# Linux
#LDOPTS=-lm
#CCOPTS=-std=gnu99 -m32

DEBUGOPT=-g
#DEBUGOPT=-mtune=core2 -O3

OBJS=converter.o fileops.o moduleinfo.o

all: converter

.c.o:
	gcc -c $(CCOPTS) $(DEBUGOPT) $<

converter: $(OBJS)
	gcc $(LDOPTS) -o converter $(OBJS)
	
clean:
	rm -f converter *.o *~