Makefile
author viric@llimona
Tue, 27 Mar 2007 23:29:56 +0200
changeset 58 3c492266923e
parent 48 630e26b09141
child 71 531666e297d7
permissions -rw-r--r--
Preparing v0.2.3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48
630e26b09141 A bit better compilation in GNU systems.
viric@llimona
parents: 44
diff changeset
     1
GCCFLAGS=-D_XOPEN_SOURCE -D__STRICT_ANSI__
44
4dcf05746ece Better include files.
viric@llimona
parents: 36
diff changeset
     2
CFLAGS=-pedantic -ansi -Wall -g -O0 ${GCCFLAGS}
32
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
     3
OBJECTS=main.o \
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
     4
	server.o \
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
     5
	server_start.o \
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
     6
	client.o \
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
     7
	msgdump.o \
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
     8
	jobs.o \
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
     9
	execute.o \
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
    10
	msg.o \
33
5c2d981f2f8e Added 'cat' and 'show output filename'
viric@llimona
parents: 32
diff changeset
    11
	client_run.o
30
ab88478a7e9b The commandline parameters are centered in a struct.
viric@llimona
parents: 18
diff changeset
    12
36
f3b164620a3a Added help.
viric@llimona
parents: 33
diff changeset
    13
# AWFUL makefile. It doesn't have the header dependencies.
32
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
    14
3531439f2770 Tail works.
viric@llimona
parents: 30
diff changeset
    15
ts: $(OBJECTS)
14
412693aae0a0 Changing binary file from 'test' to 'ts'.
lbatlle@npdl268.bpo.hp.com
parents: 9
diff changeset
    16
	gcc -o ts $^
30
ab88478a7e9b The commandline parameters are centered in a struct.
viric@llimona
parents: 18
diff changeset
    17
ab88478a7e9b The commandline parameters are centered in a struct.
viric@llimona
parents: 18
diff changeset
    18
clean:
ab88478a7e9b The commandline parameters are centered in a struct.
viric@llimona
parents: 18
diff changeset
    19
	rm -f *.o ts