File: Makefile.debian

package info (click to toggle)
udo 6.4.1-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 5,328 kB
  • ctags: 2,994
  • sloc: ansic: 42,689; makefile: 70; cpp: 19
file content (34 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (4)
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
###########################################################
# @(#) Makefile fuer Debian
# @(#) Volker Janzen 08.11.03
###########################################################
CC = gcc 
O=.o
X=

#CFLAGS = -O2 -Wall -D__LINUX__ $(XCFLAGS)

CFLAGS = -g -Wall -D__LINUX__ $(XCFLAGS)

# ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
# 	CFLAGS += -O0
# else
# 	CFLAGS += -O2
# endif 

#CFLAGS =	-g -O2 -D__LINUX__ \
#-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
#-Wshadow -Wwrite-strings -Wbad-function-cast -Wcast-qual \
#-Wconversion -pedantic 

LDFLAGS = 

# For Debian: Where to put binary on 'make install'?
DESTDIR =
BIN     = $(DESTDIR)/usr/bin

include makefile.in


udo$(X):	$(OSRC) cli$(O)
		$(CC) $(CFLAGS) $(OSRC) cli$(O) $(LDFLAGS) $(XLDFLAGS)-o $@