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 (23 lines) | stat: -rw-r--r-- 362 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
# Definitions
CC     = gcc
CFLAGS = -O2 -I../../Include
LFLAGS = -lusertrace

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

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

all: ${OBJS}
	$(CC) -o custom1 custom1.o $(LFLAGS)
	$(CC) -o custom2 custom2.o $(LFLAGS)

clean: 
	rm -rf *.o custom1 custom2 core

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