]> git.mdlowis.com Git - proto/sclpl.git/commitdiff
rename source folder and add inc folder
authorMichael D. Lowis <mike.lowis@gentex.com>
Fri, 29 Mar 2019 19:24:36 +0000 (15:24 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Fri, 29 Mar 2019 19:24:36 +0000 (15:24 -0400)
Makefile
inc/sclpl.h [moved from source/sclpl.h with 100% similarity]
src/ast.c [moved from source/ast.c with 100% similarity]
src/codegen.c [moved from source/codegen.c with 100% similarity]
src/lex.c [moved from source/lex.c with 100% similarity]
src/main.c [moved from source/main.c with 100% similarity]
src/parser.c [moved from source/parser.c with 100% similarity]
src/pkg.c [moved from source/pkg.c with 100% similarity]
src/pprint.c [moved from source/pprint.c with 100% similarity]
src/syms.c [moved from source/syms.c with 100% similarity]
src/types.c [moved from source/types.c with 100% similarity]

index e9204bd957936af24f327c709c181aa0e06e66cc..4e3257976cd2c2ead7cf685c25c908d51d55c7b6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ CC = cc
 LD = ${CC}
 
 # completed flags
-INCS      = -Isource/
+INCS      = -Iinc/
 CPPFLAGS  =
 CFLAGS   += -g ${INCS} ${CPPFLAGS} -MMD
 LDFLAGS  += ${LIBS}
@@ -19,15 +19,16 @@ MAKEFLAGS = -j
 # Build Targets and Rules
 #------------------------------------------------------------------------------
 BIN  = sclpl
-OBJS = source/main.o    \
-       source/pkg.o     \
-       source/pprint.o  \
-       source/parser.o  \
-       source/lex.o   \
-       source/ast.o     \
-       source/types.o   \
-       source/syms.o    \
-       source/codegen.o
+OBJS = \
+       src/main.o    \
+       src/pkg.o     \
+       src/pprint.o  \
+       src/parser.o  \
+       src/lex.o   \
+       src/ast.o     \
+       src/types.o   \
+       src/syms.o    \
+       src/codegen.o
 
 .PHONY: all specs tests
 
similarity index 100%
rename from source/sclpl.h
rename to inc/sclpl.h
similarity index 100%
rename from source/ast.c
rename to src/ast.c
similarity index 100%
rename from source/codegen.c
rename to src/codegen.c
similarity index 100%
rename from source/lex.c
rename to src/lex.c
similarity index 100%
rename from source/main.c
rename to src/main.c
similarity index 100%
rename from source/parser.c
rename to src/parser.c
similarity index 100%
rename from source/pkg.c
rename to src/pkg.c
similarity index 100%
rename from source/pprint.c
rename to src/pprint.c
similarity index 100%
rename from source/syms.c
rename to src/syms.c
similarity index 100%
rename from source/types.c
rename to src/types.c