Makefile

Fri, 27 May 2011 12:49:33 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 27 May 2011 12:49:33 +0200
changeset 4
c3acfb3b4957
parent 3
510d6b198dde
child 10
ecf787666f44
permissions
-rw-r--r--

Fixed missing return statement in new_settings_t.
Added support for c++ compilers.
Added destroy_settings_t function

0
518bfd1cc1e8 cline project init
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 CC = gcc
3
510d6b198dde Moved some functions to functions.c
Mike Becker <universe@uap-core.de>
parents: 1
diff changeset
2 OBJ = cline.o functions.o
0
518bfd1cc1e8 cline project init
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3
1
34a5e235d16e cline version 2
Mike Becker <universe@uap-core.de>
parents: 0
diff changeset
4 cline: ${OBJ}
34a5e235d16e cline version 2
Mike Becker <universe@uap-core.de>
parents: 0
diff changeset
5 ${CC} -o cline ${OBJ}
34a5e235d16e cline version 2
Mike Becker <universe@uap-core.de>
parents: 0
diff changeset
6
34a5e235d16e cline version 2
Mike Becker <universe@uap-core.de>
parents: 0
diff changeset
7 %.o: %.c
34a5e235d16e cline version 2
Mike Becker <universe@uap-core.de>
parents: 0
diff changeset
8 ${CC} -c -std=c99 $<
3
510d6b198dde Moved some functions to functions.c
Mike Becker <universe@uap-core.de>
parents: 1
diff changeset
9
510d6b198dde Moved some functions to functions.c
Mike Becker <universe@uap-core.de>
parents: 1
diff changeset
10 clean:
510d6b198dde Moved some functions to functions.c
Mike Becker <universe@uap-core.de>
parents: 1
diff changeset
11 rm *.o

mercurial