Skip to content

Commit 61d915f

Browse files
Added build and clean scripts to simplify release building
Should just require movement of executables into the /bin folder now for things to work
1 parent 3017951 commit 61d915f

File tree

40 files changed

+78
-6
lines changed

40 files changed

+78
-6
lines changed

CEdev/bin/main_makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ CD = cd
2323
RM = del /F /Q
2424
CP = copy /Y
2525
NULL = >nul 2>&1
26+
RM_DIR = rmdir /s /q
2627

2728
#Generate the default names for input and object files
2829
TARGETHEX := $(TARGET).hex
@@ -256,8 +257,14 @@ $(OBJDIR)/%.obj :
256257

257258
#This rule cleans up everything
258259
clean :
259-
@$(RM) $(call WINPATH,$(BINDIR)/$(TARGETHEX) $(BINDIR)/$(TARGETTYPE) $(BINDIR)/$(TARGETMAP) $(OBJECTS) $(OBJDIR)/*.src $(OBJDIR)/$(ICON_ASM)) $(NULL)
260+
@$(RM) $(call WINPATH,$(BINDIR)/$(TARGETHEX) $(BINDIR)/$(TARGETTYPE) $(BINDIR)/$(TARGETMAP) $(OBJECTS) $(OBJDIR)/*.src $(OBJDIR)/*.asm) $(NULL)
260261
@echo Cleaned build files.
262+
263+
#This rule cleans up everything except the executable
264+
clean-leave-executable :
265+
@$(RM) $(call WINPATH,$(BINDIR)/$(TARGETHEX) $(BINDIR)/$(TARGETMAP)) $(NULL)
266+
@$(RM_DIR) $(call WINPATH,$(OBJDIR)) $(NULL)
267+
@echo Cleaned $(TARGET)
261268

262269
version :
263270
@echo C CE SDK Version $(VERSION)

CEdev/examples/demo_0/bin/DEMO0.8xp

5 Bytes
Binary file not shown.

CEdev/examples/demo_1/bin/DEMO1.8xp

5 Bytes
Binary file not shown.

CEdev/examples/demo_2/bin/DEMO2.8xp

5 Bytes
Binary file not shown.

CEdev/examples/demo_3/bin/DEMO3.8xp

5 Bytes
Binary file not shown.

CEdev/examples/demo_4/bin/DEMO4.8xp

5 Bytes
Binary file not shown.

CEdev/examples/demo_5/bin/DEMO5.8xp

5 Bytes
Binary file not shown.

CEdev/examples/demo_6/bin/DEMO6.8xp

3 Bytes
Binary file not shown.

CEdev/examples/demo_7/bin/DEMO7.8xp

3 Bytes
Binary file not shown.

CEdev/examples/demo_8/bin/DEMO8.8xp

3 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)