refactor: restructure the user space stuff.
[lunaix-os.git] / lunaix-os / makefile.prog
diff --git a/lunaix-os/makefile.prog b/lunaix-os/makefile.prog
deleted file mode 100644 (file)
index 2c8b8e7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-include config/make-locations
-include config/make-os
-include config/make-cc
-
-SRC_FILES := $(wildcard uprog/*.c)
-PROGRAMES := $(patsubst uprog/%.c, $(USR_DIR)/%, $(SRC_FILES))
-
-$(USR_DIR)/%:
-       @echo "  BUILD   $(*F)"
-       @$(CC) -T usr/link-usr.ld $(INCLUDES) $(CFLAGS) -g $(LDFLAGS) uprog/$(*F).c $(BIN_DIR)/$(USR_LIB) -o $@
-
-all: $(PROGRAMES)
\ No newline at end of file