File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 67
67
68
68
# Link:
69
69
$(TARGET ) .$(CUR ) .$(REV ) .$(AGE ) : $(OBJECTS )
70
+ @mkdir -p $(TARGETDIR )
70
71
$(CC ) -o $(TARGETDIR ) /$(TARGET ) .$(CUR ) .$(REV ) .$(AGE ) $^ $(LIB ) $(CFLAGS ) $(LDFLAGS )
71
72
72
73
# Compile:
@@ -112,4 +113,4 @@ uninstall:
112
113
@ldconfig -n $(LIBDESTDIR )
113
114
114
115
# Non-file targets:
115
- .PHONY : all remake clean install uninstall
116
+ .PHONY : all remake clean install uninstall
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ source: $(TARGET)
44
44
directories :
45
45
@mkdir -p $(TARGETDIR )
46
46
@mkdir -p $(BUILDDIR )
47
- @cp $(ROOT ) /../src/* $(SRCDIR ) /
48
47
49
48
# Clean target and object files:
50
49
clean :
55
54
56
55
# Link:
57
56
$(TARGET ) : $(OBJECTS )
57
+ @mkdir -p $(TARGETDIR )
58
58
$(CC ) -o $(TARGETDIR ) /$(TARGET ) $^ $(LIB ) $(CFLAGS ) $(LDFLAGS )
59
59
60
60
# Compile:
@@ -75,4 +75,4 @@ library:
75
75
gcc -Wall $(DEBUG_SYM ) $(LIBDIR ) -o $(TARGETDIR ) /$(TARGET ) $(SRCDIR ) /$(TARGET ) .$(SRCEXT ) -ldmapwm
76
76
77
77
# Non-file targets:
78
- .PHONY : all remake clean library
78
+ .PHONY : all remake clean library
You can’t perform that action at this time.
0 commit comments