File: Makefile

package info (click to toggle)
aa3d 1.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 76 kB
  • ctags: 5
  • sloc: ansic: 93; makefile: 19
file content (18 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC=gcc

ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
	CFLAGS=-O2 -Wall
else
	CFLAGS=-O2 -Wall -g
endif

all: aa3d

aa3d:	aa3d.o 
	$(CC) $(CFLAGS) -o aa3d aa3d.o

aa3d.o: aa3d.c

clean: 
	rm -f core aa3d.o aa3d