[go: up one dir, main page]

File: Makefile

package info (click to toggle)
unicorn 0.8.7-1.1
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 3,984 kB
  • ctags: 3,428
  • sloc: ansic: 20,028; cpp: 1,265; sh: 1,033; makefile: 710; yacc: 316; sed: 16
file content (21 lines) | stat: -rw-r--r-- 414 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
CC=gcc
LD=ld
INSTALL=install
CFLAGS := -Wall -Wstrict-prototypes -O2 -DLINUX
INCLUDES := -I../amu/ -I../include/
prefix=/usr/local
BINDIR=$(prefix)/bin
ifndef VERS
VERS=0
endif

all: unicorntest

unicorntest: unicorntest.c
	$(CC) -DVERS=$(VERS) $(CFLAGS) $(INCLUDES) unicorntest.c -o unicorntest

clean:
	rm -f unicorntest *.o

install: all  
	$(INSTALL) -s -c unicorntest $(DESTDIR)$(BINDIR)