From 172d73245a3fbab259a13c8ea2f0a297c2538fb9 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 19 Mar 2019 09:14:39 +0100 Subject: [PATCH] rename main program --- .gitignore | 6 +----- Makefile | 5 +---- main.icl => minfp.icl | 8 ++------ 3 files changed, 4 insertions(+), 15 deletions(-) rename main.icl => minfp.icl (96%) diff --git a/.gitignore b/.gitignore index 6662cb6..77a7d2c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,4 @@ a.out Clean System Files -main -check -parse -gen -ast +minfp *.o diff --git a/Makefile b/Makefile index 8bd8989..5b9cf37 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,10 @@ CLM?=clm CLMFLAGS?=-nr CLMLIBS?=-IL Platform -all: main +all: minfp %: %.icl $(CLM) $(CLMLIBS) $(CLMFLAGS) $* $(OUTPUT_OPTION) clean: $(RM) -r "Clean System Files" main - -%: %.o rts.o - $(CC) $(CFLAGS) $(LDFLAGS) $(TARGET_ARCH) $^ $(OUTPUT_OPTION) diff --git a/main.icl b/minfp.icl similarity index 96% rename from main.icl rename to minfp.icl index 69d66e6..5e2a377 100644 --- a/main.icl +++ b/minfp.icl @@ -1,4 +1,4 @@ -module main +module minfp import StdEnv import Data.Either @@ -8,11 +8,7 @@ import Control.Monad import System.GetOpt import System.CommandLine -import parse -import ast -import check -import int -import gen +import parse, ast, check, int, gen chars :: *File -> ([Char], *File) chars f -- 2.20.1