Initial Commit, project structure and build system.
This commit is contained in:
9
make/include/shared.mk
Normal file
9
make/include/shared.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
$(TARGET): $(OBJECTS)
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) $(OBJECTS) $(LDFLAGS) -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: %.c
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) $(CFLAGS) -MMD -MP -c $< -o $@
|
||||
|
||||
-include $(DEPS)
|
||||
Reference in New Issue
Block a user