File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 3
3
# i dont know why is my computer full of these temp files
4
4
.fuse_hidden *
5
5
6
- # the binary
7
- sdl_universe
8
- SDL_Universe
6
+ # sublime text things
9
7
* .sublime *
10
8
11
9
# ## C++ ###
Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ sdl2: run
51
51
# RULES
52
52
#
53
53
54
- run : $(TARGET )
54
+ run : $(OUTPUTDIR ) / $( TARGET )
55
55
@echo " "
56
56
@echo " ### RUNNING VERSION" $(SDLVERSION )
57
57
@echo -n " "
58
- ./$(TARGET )
58
+ ./$(OUTPUTDIR ) / $( TARGET )
59
59
60
60
# linking rule
61
- $(TARGET ) : $(OBJS )
61
+ $(OUTPUTDIR ) / $( TARGET ) : $(OBJS )
62
62
@echo " "
63
63
@echo " ### LINKING" $@ " WITH" $(SDLVERSION )
64
64
@echo -n " "
65
- $(CC ) $^ $(LFLAGS ) -o $(TARGET )
65
+ $(CC ) $^ $(LFLAGS ) -o $(OUTPUTDIR ) / $( TARGET )
66
66
67
67
# compilation rule
68
68
$(BUILDDIR ) /% .o : $(SRCDIR ) /% .$(SRCEXT )
80
80
@echo -n " "
81
81
$(RM ) -r $(BUILDDIR ) /SU/* .o
82
82
@echo -n " "
83
- $(RM ) -r $(TARGET )
83
+ $(RM ) -r $(OUTPUTDIR ) / $( TARGET )
84
84
85
85
# variable print for debug purposes
86
86
debug-% :
You can’t perform that action at this time.
0 commit comments