updated makefile and readme
This commit is contained in:
9
Makefile
9
Makefile
@ -1,3 +1,5 @@
|
||||
PLATFORM := $(shell uname)
|
||||
|
||||
bonjour:
|
||||
@echo " ------------------------------------"
|
||||
@echo "| you can use "make build" or "make run" |"
|
||||
@ -9,8 +11,11 @@ bonjour:
|
||||
@echo " || ||"
|
||||
|
||||
build:
|
||||
ifeq ($(PLATFORM),Win32)
|
||||
go build -o bin/ecoledirecte_api.exe src/*
|
||||
else
|
||||
go build -o bin/ecoledirecte_api src/*
|
||||
endif
|
||||
|
||||
run:
|
||||
go build -o bin/ecoledirecte_api src/*.go
|
||||
bin/ecoledirecte_api
|
||||
go run src/*
|
Reference in New Issue
Block a user