]>
Commit | Line | Data |
---|---|---|
543c1db0 JH |
1 | # Copyright (C) 2005 Jan Hutter, Martin Willi |
2 | # Hochschule fuer Technik Rapperswil | |
3 | # | |
4 | # This program is free software; you can redistribute it and/or modify it | |
5 | # under the terms of the GNU General Public License as published by the | |
6 | # Free Software Foundation; either version 2 of the License, or (at your | |
7 | # option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. | |
8 | # | |
9 | # This program is distributed in the hope that it will be useful, but | |
10 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
11 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 | # for more details. | |
13 | # | |
14 | ||
68621281 | 15 | ENCODING_DIR= $(CHARON_DIR)encoding/ |
543c1db0 | 16 | |
68621281 | 17 | CHARON_OBJS+= $(BUILD_DIR)generator.o |
543c1db0 JH |
18 | $(BUILD_DIR)generator.o : $(ENCODING_DIR)generator.c $(ENCODING_DIR)generator.h |
19 | $(CC) $(CFLAGS) -c -o $@ $< | |
20 | ||
68621281 | 21 | CHARON_OBJS+= $(BUILD_DIR)parser.o |
543c1db0 JH |
22 | $(BUILD_DIR)parser.o : $(ENCODING_DIR)parser.c $(ENCODING_DIR)parser.h |
23 | $(CC) $(CFLAGS) -c -o $@ $< | |
24 | ||
68621281 | 25 | CHARON_OBJS+= $(BUILD_DIR)message.o |
543c1db0 JH |
26 | $(BUILD_DIR)message.o : $(ENCODING_DIR)message.c $(ENCODING_DIR)message.h |
27 | $(CC) $(CFLAGS) -c -o $@ $< | |
28 | ||
29 | ||
30 | include $(ENCODING_DIR)payloads/Makefile.payloads |