File: Makefile

package info (click to toggle)
lcab 1.0b12-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 464 kB
  • sloc: sh: 815; ansic: 680; makefile: 27
file content (18 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
OBJS = cheader.o cfolder.o cdata.o cfile.o checksum.o cwrite.o main.o

CC = gcc
CFLAGS = -ggdb3 -Wall -pipe
EXE = lcab

all: $(EXE)

$(EXE): $(OBJS)
	$(CC) -o $(EXE) $(OBJS)

%.o: %.c
	$(CC) $(CFLAGS) -c -o $@ $<

clean: 
	-rm -f $(OBJS) $(EXE)