# Copyright (C) 2005 Jan Hutter, Martin Willi # Hochschule fuer Technik Rapperswil # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. See . # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # NETWORK_DIR= $(MAIN_DIR)network/ OBJS+= $(BUILD_DIR)packet.o $(BUILD_DIR)packet.o : $(NETWORK_DIR)packet.c $(NETWORK_DIR)packet.h $(CC) $(CFLAGS) -c -o $@ $< OBJS+= $(BUILD_DIR)socket.o $(BUILD_DIR)socket.o : $(NETWORK_DIR)socket.c $(NETWORK_DIR)socket.h $(CC) $(CFLAGS) -c -o $@ $< OBJS+= $(BUILD_DIR)host.o $(BUILD_DIR)host.o : $(NETWORK_DIR)host.c $(NETWORK_DIR)host.h $(CC) $(CFLAGS) -c -o $@ $<