Skip to content

Commit

Permalink
Add compatibility lib header paths
Browse files Browse the repository at this point in the history
  • Loading branch information
adriweb committed Apr 7, 2017
1 parent 7e31115 commit 57e82e1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions makefile
Expand Up @@ -18,6 +18,7 @@ CP = copy /y
SPASMFLG = NO_APPSIGN=1 MINGW_COMPILE=YES
EXMPL_DIR = $(call NATIVEPATH,$(INSTALLLOC)/CEdev/examples)
CP_EXMPLS = (if not exist "$(EXMPL_DIR)" mkdir $(EXMPL_DIR)) && xcopy /y /s /e $(call NATIVEPATH,$(CURDIR)/examples) $(EXMPL_DIR)
CPDIR = xcopy /y /s /e
ARCH = makensis.exe /DDIST_PATH=$(call NATIVEPATH,$(DESTDIR)$(PREFIX)/CEdev) $(call NATIVEPATH,$(CURDIR)\installer\installer.nsi) && \
(if not exist "release" mkdir "release") && move /y installer\CEdev.exe release\\
else
Expand All @@ -30,6 +31,7 @@ PREFIX ?= $(HOME)
INSTALLLOC := $(call NATIVEPATH,$(DESTDIR)$(PREFIX))
SPASMFLG = NO_APPSIGN=1
CP = cp
CPDIR = cp -r
CP_EXMPLS = cp -r $(call NATIVEPATH,$(CURDIR)/examples) $(call NATIVEPATH,$(INSTALLLOC)/CEdev)
ARCH = cd $(INSTALLLOC) ; tar -czf $(RELEASE_NAME).tar.gz $(RELEASE_NAME) ; \
cd $(CURDIR) ; mkdir -p release ; mv -f $(INSTALLLOC)/$(RELEASE_NAME).tar.gz release
Expand Down Expand Up @@ -148,6 +150,7 @@ install: $(DIRS)
$(MAKE) -C $(FILEIOCDIR) install PREFIX=$(PREFIX) DESTDIR=$(DESTDIR)
$(MAKE) -C $(CEDIR) install PREFIX=$(PREFIX) DESTDIR=$(DESTDIR)
$(MAKE) -C $(STDDIR) install PREFIX=$(PREFIX) DESTDIR=$(DESTDIR)
$(CPDIR) $(call NATIVEPATH,$(SRCDIR)/compat/ce) $(call NATIVEPATH,$(INSTALLLIB))

$(DIRS):
$(MKDIR) $(INSTALLBIN)
Expand Down
2 changes: 2 additions & 0 deletions src/compat/ce/fileioc.h
@@ -0,0 +1,2 @@
#warning You are using a deprecated lib include path. Simply use #include <fileioc.h> instead
#include <fileioc.h>
2 changes: 2 additions & 0 deletions src/compat/ce/graphx.h
@@ -0,0 +1,2 @@
#warning You are using a deprecated lib include path. Simply use #include <graphx.h> instead
#include <graphx.h>
2 changes: 2 additions & 0 deletions src/compat/ce/keypadc.h
@@ -0,0 +1,2 @@
#warning You are using a deprecated lib include path. Simply use #include <keypadc.h> instead
#include <keypadc.h>
2 changes: 1 addition & 1 deletion src/example_makefile
Expand Up @@ -116,7 +116,7 @@ endif

#Define the nesassary headers, along with any the user may have defined, where modification should just trigger a build
USERHEADERS := $(call NATIVEPATH,$(foreach dir,$(ALLDIRS),$(wildcard $(dir)*.h)))
HEADERS := $(subst $(space),;,$(call WINPATH,$(ALLDIRS) $(addprefix $(CEDEV)/,include/ce include/std)))
HEADERS := $(subst $(space),;,$(call WINPATH,$(ALLDIRS) $(addprefix $(CEDEV)/,./ include/ce include/std)))
HEADERS := $(subst \;,;,$(HEADERS))
HEADERS := $(subst \;,;,$(HEADERS))
HEADERS := $(subst /;,;,$(HEADERS))
Expand Down

0 comments on commit 57e82e1

Please sign in to comment.