-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
53 lines (41 loc) · 1.1 KB
/
Makefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Makefile for supersaft the bedder file transfer
# programm from
#
# Copyright (C) 2002 Christopher Loessl <[email protected]>
# Copyright (C) 2002 Stefan Strigler <[email protected]>
#
# This programm is under the GPL 2
#
# Created: 2002 07 08
# Last updated: 2002 07 11
#
# $Id: Makefile,v 1.2 2002/07/11 11:53:15 zeank Exp $
# $Log: Makefile,v $
# Revision 1.2 2002/07/11 11:53:15 zeank
# added cvs log messages
#
#
CC = gcc
#CFLAGS = -ggdb -Wall -pedantic
CFLAGS = -ggdb -Wall
TARGETS = supersaftd supersaftc
DOBJS = supersaftd.o common.o
COBJS = supersaftc.o common.o
# how to make objects (we want debugging messages)
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
all: $(TARGETS)
supersaftd: $(DOBJS)
$(CC) $(CFLAGS) $(DOBJS) -o supersaftd
supersaftc: $(COBJS)
$(CC) $(CFLAGS) $(COBJS) -o supersaftc
clean:
@rm -f $(TARGETS) $(COBJS) $(DOBJS)
very-clean: clean
@rm -f *~ *.bak *.tmp \#*
tar-ball:
@tar cvfz supersaft.tgz *.h *.c Makefile README AUTHORS COPYING TODO ChangeLog
bz2-ball:
@tar cvfj supersaft.tbz *.h *.c Makefile README AUTHORS COPYING TODO ChangeLog
.SUFFIXES: .c .o
.PHONY: clean