File: Makefile

package info (click to toggle)
ltt 0.9.5pre6-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,256 kB
  • ctags: 1,630
  • sloc: ansic: 17,284; sh: 8,010; makefile: 252
file content (25 lines) | stat: -rw-r--r-- 361 bytes parent folder | download
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
# Definitions
CC     = gcc
CFLAGS = -O -nostdinc -I/usr/src/linux/include

# Files
INCLUDES =
OBJS_TRACE = custom1.o custom2.o

# Rules
.c.o: ${INCLUDES}
	$(CC) $(CFLAGS) -c $<

#custom: ${OBJS_TRACE}
#	$(CC) -o $@ ${OBJS_TRACE}

all:
	$(CC) $(CFLAGS) -c custom1.c
	$(CC) $(CFLAGS) -c custom2.c

clean: 
	rm -rf *.o core

distclean:
	rm -rf *~
	rm -rf *.o core