瀏覽代碼

Update makefile

Fix issue where librt wasn't linked in, which is sometimes required on certain systems.
necrophcodr 11 年之前
父節點
當前提交
7f6b126aa2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      makefile

+ 1
- 1
makefile 查看文件

1
 CC=g++
1
 CC=g++
2
 CCFLAGS=-O2 -g
2
 CCFLAGS=-O2 -g
3
-LDFLAGS=-lX11 -lXext
3
+LDFLAGS=-lX11 -lXext -lrt
4
 SOURCES=main.cpp x.cpp options.cpp
4
 SOURCES=main.cpp x.cpp options.cpp
5
 OBJECTS=$(SOURCES:.cpp=.o)
5
 OBJECTS=$(SOURCES:.cpp=.o)
6
 EXECUTABLE=slop
6
 EXECUTABLE=slop