Skip to content

Commit

Permalink
Add makefile framework for windows and posix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmigan Casebolt committed Mar 1, 2011
1 parent 21b9287 commit cd09eda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ include $(GOROOT)/src/Make.inc

TARG=os/serial

CGOFILES=serial.go
ifeq ($(GOOS),windows)
CGOFILES=serial_windows.go
else
CGOFILES=serial_posix.go
endif

include $(GOROOT)/src/Make.pkg
File renamed without changes.

0 comments on commit cd09eda

Please sign in to comment.